home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 …ember: Reference Library / Dev.CD Dec 00 RL Disk 2.toast / pc / utilities / hypercard player / hypercard player 2.4 / addresses / cards.xml < prev    next >
Encoding:
Text File  |  1995-03-10  |  50.5 KB  |  1,367 lines

  1. card_11765.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>11765</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <true /> </dontSearch>
  10.     <owner>6486</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  12.     <part>
  13.         <id>1</id>
  14.         <type>field</type>
  15.         <visible> <true /> </visible>
  16.         <dontWrap> <false /> </dontWrap>
  17.         <dontSearch> <true /> </dontSearch>
  18.         <sharedText> <false /> </sharedText>
  19.         <fixedLineHeight> <false /> </fixedLineHeight>
  20.         <autoTab> <false /> </autoTab>
  21.         <lockText> <true /> </lockText>
  22.         <rect>
  23.             <left>45</left>
  24.             <top>224</top>
  25.             <right>194</right>
  26.             <bottom>240</bottom>
  27.         </rect>
  28.         <style>transparent</style>
  29.         <autoSelect> <false /> </autoSelect>
  30.         <showLines> <false /> </showLines>
  31.         <wideMargins> <false /> </wideMargins>
  32.         <multipleLines> <false /> </multipleLines>
  33.         <reservedFamily> 0 </reservedFamily>
  34.         <titleWidth>0</titleWidth>
  35.         <icon>0</icon>
  36.         <textAlign>center</textAlign>
  37.         <font>Palatino</font>
  38.         <textSize>12</textSize>
  39.         <textStyle>plain</textStyle>
  40.         <textHeight>16</textHeight>
  41.         <name>About</name>
  42.         <script></script>
  43.     </part>
  44.     <part>
  45.         <id>3</id>
  46.         <type>field</type>
  47.         <visible> <true /> </visible>
  48.         <dontWrap> <false /> </dontWrap>
  49.         <dontSearch> <true /> </dontSearch>
  50.         <sharedText> <false /> </sharedText>
  51.         <fixedLineHeight> <true /> </fixedLineHeight>
  52.         <autoTab> <false /> </autoTab>
  53.         <lockText> <true /> </lockText>
  54.         <rect>
  55.             <left>10</left>
  56.             <top>34</top>
  57.             <right>405</right>
  58.             <bottom>217</bottom>
  59.         </rect>
  60.         <style>scrolling</style>
  61.         <autoSelect> <false /> </autoSelect>
  62.         <showLines> <false /> </showLines>
  63.         <wideMargins> <true /> </wideMargins>
  64.         <multipleLines> <false /> </multipleLines>
  65.         <reservedFamily> 0 </reservedFamily>
  66.         <titleWidth>0</titleWidth>
  67.         <icon>0</icon>
  68.         <textAlign>left</textAlign>
  69.         <font>Palatino</font>
  70.         <textSize>12</textSize>
  71.         <textStyle>plain</textStyle>
  72.         <textHeight>16</textHeight>
  73.         <name>About This Stack</name>
  74.         <script>on mouseUp
  75. if the clickText is "Print Addresses Overview" then -- ‚àÜ
  76. print the target
  77. end if
  78. end mouseUp</script>
  79.     </part>
  80.     <part>
  81.         <id>4</id>
  82.         <type>field</type>
  83.         <visible> <false /> </visible>
  84.         <dontWrap> <false /> </dontWrap>
  85.         <dontSearch> <false /> </dontSearch>
  86.         <sharedText> <false /> </sharedText>
  87.         <fixedLineHeight> <true /> </fixedLineHeight>
  88.         <autoTab> <false /> </autoTab>
  89.         <lockText> <true /> </lockText>
  90.         <rect>
  91.             <left>10</left>
  92.             <top>34</top>
  93.             <right>405</right>
  94.             <bottom>217</bottom>
  95.         </rect>
  96.         <style>scrolling</style>
  97.         <autoSelect> <false /> </autoSelect>
  98.         <showLines> <false /> </showLines>
  99.         <wideMargins> <true /> </wideMargins>
  100.         <multipleLines> <false /> </multipleLines>
  101.         <reservedFamily> 0 </reservedFamily>
  102.         <titleWidth>0</titleWidth>
  103.         <icon>0</icon>
  104.         <textAlign>left</textAlign>
  105.         <font>Palatino</font>
  106.         <textSize>12</textSize>
  107.         <textStyle>plain</textStyle>
  108.         <textHeight>16</textHeight>
  109.         <name>Hidden</name>
  110.         <script>on mouseUp
  111. -- Requires handler: toggleTip
  112. -- show/hide the tip info
  113. -- card field "Hidden" is a hidden field containing the tip info
  114. toggleTip (not visible of me),id of cd fld "Hidden"
  115. end mouseUp</script>
  116.     </part>
  117.     <part>
  118.         <id>6</id>
  119.         <type>button</type>
  120.         <visible> <true /> </visible>
  121.         <reserved5> 0 </reserved5>
  122.         <reserved4> 0 </reserved4>
  123.         <reserved3> 0 </reserved3>
  124.         <reserved2> 0 </reserved2>
  125.         <reserved1> 0 </reserved1>
  126.         <enabled> <true /> </enabled>
  127.         <rect>
  128.             <left>29</left>
  129.             <top>221</top>
  130.             <right>196</right>
  131.             <bottom>240</bottom>
  132.         </rect>
  133.         <style>transparent</style>
  134.         <showName> <false /> </showName>
  135.         <highlight> <false /> </highlight>
  136.         <autoHighlight> <false /> </autoHighlight>
  137.         <sharedHighlight> <true /> </sharedHighlight>
  138.         <family>0</family>
  139.         <titleWidth>0</titleWidth>
  140.         <icon>0</icon>
  141.         <textAlign>center</textAlign>
  142.         <font>Palatino</font>
  143.         <textSize>12</textSize>
  144.         <textStyle>plain</textStyle>
  145.         <name>About Hiliter</name>
  146.         <script>on mouseUp
  147. -- Requires handler: toggleTip
  148. -- card field "Hidden" is a hidden field containing the tip info
  149. toggleTip (not the hilite of me),id of cd fld "Hidden"
  150. end mouseUp</script>
  151.     </part>
  152.     <content>
  153.         <layer>background</layer>
  154.         <id>3</id>
  155.         <text>Stack Overview</text>
  156.     </content>
  157.     <content>
  158.         <layer>card</layer>
  159.         <id>1</id>
  160.         <text><span class="style14">bout Transferring Text</span><span class="style23"></span></text>
  161.     </content>
  162.     <content>
  163.         <layer>card</layer>
  164.         <id>3</id>
  165.         <text><span class="style26">bout the Addresses Stack</span><span class="style14">
  166. </span><span class="style27">
  167. </span><span class="style14">To print this field: 
  168. 1.  Choose "Print Field..." from the "File" menu
  169. 2.  Click the "Card fields" button
  170. 3.  Select "About this Stack" in the scrolling field
  171. 4.  Click the "OK" button
  172.     Note: If you are using the HyperCard Player, the "Print Field..."
  173.     menu is not available (it will be dimmed). Instead, to print this
  174.     field, click to the right --> </span><span class="style28"><a href="#" class="group">Print Addresses Overview</a></span><span class="style14">.
  175. </span><span class="style27">
  176. </span><span class="style14">Purpose of this stack:
  177.     You can use this stack to store names, addresses, phone   
  178.     numbers, notes, and even print labels. 
  179.  
  180. To add a new name and address:
  181. 1. Make sure you are in the Addresses section of this stack by 
  182.     selecting the "Addresses" menu item in the "Utilities" menu.
  183. 2. Click the "New Card" button
  184. 3. Fill in the appropriate lines on the card.
  185. 4. You may if you wish sort the cards
  186.  
  187. To sort the Address cards in this stack:
  188. 1. Select the sorting option of your choice by selecting the 
  189.     appropriate menu item in the "Utilities" menu.
  190.  
  191. To customize the sort options in this stack:
  192. 1. Select the "Sort Preferences" from the "Utilities" menu.
  193.  
  194. To print the addresses:</span><span class="style21">
  195. </span><span class="style14">1. If you are unsure as to which report template you will print 
  196.     with  see the "About the report templates included in this
  197.     stack" section (described later in this field).
  198. 2. If you are unsure about "Page Setup" options then see the 
  199.     "Page Setup for Particular Labels" section  (described later in 
  200.     this field).
  201. 3. Next select "Print Report..." from the "File" menu.
  202. 4. Choose the correct report template for your needs from the 
  203.     "Reports" menu.
  204. 5. Click the "Print" button in the "Print Report..." dialog.
  205.  
  206.     If the "Print Report..." menu item is dimmed, select "Print 
  207.     Addresses" from the "Utilities" menu to select a report 
  208.     template.
  209. </span><span class="style21">
  210. </span><span class="style14">About the report templates included in this stack:</span><span class="style21">
  211. </span><span class="style14">    In addition to the "Name and Address List" and the "Address  
  212.     Book" templates, the Address stack now includes report 
  213.     templates for 15 of Avery Corporation's most popular labels. 
  214.  
  215. The report templates included in this stack are compatible with the following Avery label products:
  216.  
  217. Laser Printer Sheet Fed Labels:</span><span class="style21">                    </span><span class="style14">Measurements
  218.     Avery 5160                    3 Across                    1"          x   2  </span><span class="style27">5/8</span><span class="style14">"</span><span class="style27"> </span><span class="style14">
  219.     Avery 5161                    2 Across                    1"          x   4"                  
  220.     Avery 5162                    2 Across                    1  </span><span class="style27">1/3</span><span class="style14">"   x   4"
  221.     Avery 5163                    2 Across                    2"          x   4"
  222.     Avery 5164                    2 Across                    3 </span><span class="style27"> 1/3</span><span class="style14">"   x   4"
  223.     Avery 5197                    2 Across                    1  </span><span class="style27">1/2</span><span class="style14">"   x   4"
  224.     Avery 5262                    2 Across                    1  </span><span class="style27">1/3</span><span class="style14">"   x   4"
  225.     Avery 5266                    2 Across                    </span><span class="style27">2/3</span><span class="style14">"       x   3 </span><span class="style27"> 7/16</span><span class="style14">"
  226.     Avery 5660                    3 Across                    1"          x   2  </span><span class="style27">5/6</span><span class="style14">"
  227.     Avery 5662                    2 Across                    1  </span><span class="style27">1/3</span><span class="style14">"   x   4  </span><span class="style27">1/4</span><span class="style14">"
  228.     Avery 5663                    2 Across                    2"          x   4  </span><span class="style27">1/4</span><span class="style14">"
  229.  
  230. Dot Matrix Printer Tractor Fed Labels:
  231.     Avery 4143                    2 Across                    4"          x   </span><span class="style27">15/16</span><span class="style14">"
  232.     Avery 4144                    3 Across                    2  </span><span class="style27">1/2</span><span class="style14">"   x   </span><span class="style27">15/16</span><span class="style14">"
  233.     Avery 4145                    1 Across                    3  </span><span class="style27">1/2</span><span class="style14">"   x   </span><span class="style27">15/16</span><span class="style14">"
  234.     Avery 4161                    1 Across                    4"          x   2  </span><span class="style27">15/16</span><span class="style14">"
  235.  
  236. Printer compatibility:</span><span class="style21">
  237. </span><span class="style14">The Laser Printer sheet fed labels are compatible with the   following printers:
  238.     All Apple LaserWriters
  239.     Apple StyleWriter
  240.     HP DeskWriter
  241.     HP LaserJet IIP </span><span class="style21">
  242.  
  243. </span><span class="style14">The Dot Matrix Printer tractor fed labels are compatible with the following printers:</span><span class="style21">
  244. </span><span class="style14">    ImageWriter
  245.     ImageWriter II
  246.     ImageWriter LQ
  247.  
  248. Page Setup for Particular Labels:
  249.     For the labels to print properly certain options must be set in     
  250.     the "Page Setup" dialog,  (which can be found as a menu item  
  251.     under the "File" menu). 
  252.  
  253.     For the Laser Printer sheet fed labels the settings are:
  254.     Vertical (portrait orientation)
  255.     US letter
  256.     Turn OFF Precision Bitmap Alignment option
  257.  
  258.     For the Dot Matrix Printer tractor fed labels the settings are:
  259.     Vertical (portrait orientation)
  260.     International Fanfold
  261.     No Gaps Between Pages</span></text>
  262.     </content>
  263.     <content>
  264.         <layer>card</layer>
  265.         <id>4</id>
  266.         <text>The Utilities menu includes two menu items, "Export Text..." and "Import Text...", that help you transfer text between this stack, other stacks and application programs (such as word processors, databases, or spreadsheets).
  267.  
  268. Export Text copies the addresses in this stack into a new text file. Import Text lets you select a text file (or the contents of an Address stack that came with an earlier version of HyperCard) to copy into this stack.
  269.  
  270. Export Text creates a text file in the following format: 
  271. ‚Ä¢ Text is exported in the following order: Name, Company, 
  272.     Street, City, State, Zip Code, the four Phone fields, and Notes. 
  273. ‚Ä¢ Each field of text (including a blank field) is followed by a tab  
  274.    character. The last field is followed by a return character.
  275.  
  276. If you use Import Text to copy information from a text file into this stack, make sure that the file uses the format described above. Every tenth tab character begins a new field, so the text file must include a tab character for every field in Addresses (including the four Phone fields), even if the field is blank. If the format is incorrect, the information will end up in the wrong fields.
  277.  
  278. If you use Import Text to copy information from an old Address Stack, a text file called HCAddressExportHC will appear in the same folder as the old Address stack. You can delete this text file after the importing has been completed. Before using Import Text to copy your addresses, make sure that the name and the address on each card take up no more than three lines. Otherwise the address will not be copied properly. Only the name and address, phone number(s), and the date (which gets put into the Notes field) are copied‚Äîno other information on the original card is copied. If HyperCard is unable to correctly import your address into the current format, it will put "* See Notes" after the name field. Click on Show Notes to view the full information from the imported record.
  279.  
  280. Note that return characters in the Notes field are imported and exported as ellipsis characters (‚Ķ) to allow the return character to delimit a record.</text>
  281.     </content>
  282.     <name>Stack Overview</name>
  283.     <script>on closeCard
  284. -- Requires handler: toggleTip
  285. set the scroll of cd fld "About This Stack" to 0
  286. if visible of card field id 4 then toggleTip false,4
  287. pass closeCard
  288. end closeCard</script>
  289. </card>
  290.  
  291.  
  292. card_2959.xml
  293. <?xml version="1.0" encoding="utf-8" ?>
  294. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  295. <card>
  296.     <id>2959</id>
  297.     <filler1>0</filler1>
  298.     <cantDelete> <true /> </cantDelete>
  299.     <showPict> <true /> </showPict>
  300.     <dontSearch> <true /> </dontSearch>
  301.     <owner>6486</owner>
  302.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  303.     <part>
  304.         <id>1</id>
  305.         <type>field</type>
  306.         <visible> <true /> </visible>
  307.         <dontWrap> <false /> </dontWrap>
  308.         <dontSearch> <true /> </dontSearch>
  309.         <sharedText> <false /> </sharedText>
  310.         <fixedLineHeight> <true /> </fixedLineHeight>
  311.         <autoTab> <false /> </autoTab>
  312.         <lockText> <true /> </lockText>
  313.         <rect>
  314.             <left>18</left>
  315.             <top>34</top>
  316.             <right>412</right>
  317.             <bottom>57</bottom>
  318.         </rect>
  319.         <style>transparent</style>
  320.         <autoSelect> <false /> </autoSelect>
  321.         <showLines> <false /> </showLines>
  322.         <wideMargins> <true /> </wideMargins>
  323.         <multipleLines> <false /> </multipleLines>
  324.         <reservedFamily> 0 </reservedFamily>
  325.         <titleWidth>0</titleWidth>
  326.         <icon>0</icon>
  327.         <textAlign>left</textAlign>
  328.         <font>Palatino</font>
  329.         <textSize>12</textSize>
  330.         <textStyle>plain</textStyle>
  331.         <textHeight>16</textHeight>
  332.         <name></name>
  333.         <script></script>
  334.     </part>
  335.     <part>
  336.         <id>2</id>
  337.         <type>field</type>
  338.         <visible> <true /> </visible>
  339.         <dontWrap> <false /> </dontWrap>
  340.         <dontSearch> <true /> </dontSearch>
  341.         <sharedText> <false /> </sharedText>
  342.         <fixedLineHeight> <true /> </fixedLineHeight>
  343.         <autoTab> <false /> </autoTab>
  344.         <lockText> <true /> </lockText>
  345.         <rect>
  346.             <left>18</left>
  347.             <top>63</top>
  348.             <right>219</right>
  349.             <bottom>100</bottom>
  350.         </rect>
  351.         <style>transparent</style>
  352.         <autoSelect> <false /> </autoSelect>
  353.         <showLines> <false /> </showLines>
  354.         <wideMargins> <true /> </wideMargins>
  355.         <multipleLines> <false /> </multipleLines>
  356.         <reservedFamily> 0 </reservedFamily>
  357.         <titleWidth>0</titleWidth>
  358.         <icon>0</icon>
  359.         <textAlign>left</textAlign>
  360.         <font>Palatino</font>
  361.         <textSize>12</textSize>
  362.         <textStyle>plain</textStyle>
  363.         <textHeight>16</textHeight>
  364.         <name></name>
  365.         <script></script>
  366.     </part>
  367.     <part>
  368.         <id>3</id>
  369.         <type>button</type>
  370.         <visible> <true /> </visible>
  371.         <reserved5> 0 </reserved5>
  372.         <reserved4> 0 </reserved4>
  373.         <reserved3> 0 </reserved3>
  374.         <reserved2> 0 </reserved2>
  375.         <reserved1> 0 </reserved1>
  376.         <enabled> <true /> </enabled>
  377.         <rect>
  378.             <left>36</left>
  379.             <top>101</top>
  380.             <right>181</right>
  381.             <bottom>121</bottom>
  382.         </rect>
  383.         <style>radiobutton</style>
  384.         <showName> <true /> </showName>
  385.         <highlight> <true /> </highlight>
  386.         <autoHighlight> <false /> </autoHighlight>
  387.         <sharedHighlight> <true /> </sharedHighlight>
  388.         <family>0</family>
  389.         <titleWidth>0</titleWidth>
  390.         <icon>0</icon>
  391.         <textAlign>center</textAlign>
  392.         <font>Palatino</font>
  393.         <textSize>12</textSize>
  394.         <textStyle>plain</textStyle>
  395.         <name>First name first</name>
  396.         <script>on mouseUp
  397. -- Requires handler: showExample
  398. set hilite of me to true
  399. set hilite of card button id 4 to false
  400. showExample
  401. end mouseUp</script>
  402.     </part>
  403.     <part>
  404.         <id>4</id>
  405.         <type>button</type>
  406.         <visible> <true /> </visible>
  407.         <reserved5> 0 </reserved5>
  408.         <reserved4> 0 </reserved4>
  409.         <reserved3> 0 </reserved3>
  410.         <reserved2> 0 </reserved2>
  411.         <reserved1> 0 </reserved1>
  412.         <enabled> <true /> </enabled>
  413.         <rect>
  414.             <left>36</left>
  415.             <top>121</top>
  416.             <right>181</right>
  417.             <bottom>141</bottom>
  418.         </rect>
  419.         <style>radiobutton</style>
  420.         <showName> <true /> </showName>
  421.         <highlight> <false /> </highlight>
  422.         <autoHighlight> <false /> </autoHighlight>
  423.         <sharedHighlight> <true /> </sharedHighlight>
  424.         <family>0</family>
  425.         <titleWidth>0</titleWidth>
  426.         <icon>0</icon>
  427.         <textAlign>center</textAlign>
  428.         <font>Palatino</font>
  429.         <textSize>12</textSize>
  430.         <textStyle>plain</textStyle>
  431.         <name>Last name first</name>
  432.         <script>on mouseUp
  433. -- Requires handler: showExample
  434. set hilite of me to true
  435. set hilite of cd btn id 3 to false -- ‚àÜ
  436. showExample
  437. end mouseUp</script>
  438.     </part>
  439.     <part>
  440.         <id>5</id>
  441.         <type>field</type>
  442.         <visible> <true /> </visible>
  443.         <dontWrap> <false /> </dontWrap>
  444.         <dontSearch> <true /> </dontSearch>
  445.         <sharedText> <false /> </sharedText>
  446.         <fixedLineHeight> <true /> </fixedLineHeight>
  447.         <autoTab> <false /> </autoTab>
  448.         <lockText> <true /> </lockText>
  449.         <rect>
  450.             <left>17</left>
  451.             <top>153</top>
  452.             <right>228</right>
  453.             <bottom>176</bottom>
  454.         </rect>
  455.         <style>transparent</style>
  456.         <autoSelect> <false /> </autoSelect>
  457.         <showLines> <false /> </showLines>
  458.         <wideMargins> <true /> </wideMargins>
  459.         <multipleLines> <false /> </multipleLines>
  460.         <reservedFamily> 0 </reservedFamily>
  461.         <titleWidth>0</titleWidth>
  462.         <icon>0</icon>
  463.         <textAlign>left</textAlign>
  464.         <font>Palatino</font>
  465.         <textSize>12</textSize>
  466.         <textStyle>plain</textStyle>
  467.         <textHeight>16</textHeight>
  468.         <name></name>
  469.         <script></script>
  470.     </part>
  471.     <part>
  472.         <id>6</id>
  473.         <type>button</type>
  474.         <visible> <true /> </visible>
  475.         <reserved5> 0 </reserved5>
  476.         <reserved4> 0 </reserved4>
  477.         <reserved3> 0 </reserved3>
  478.         <reserved2> 0 </reserved2>
  479.         <reserved1> 0 </reserved1>
  480.         <enabled> <true /> </enabled>
  481.         <rect>
  482.             <left>36</left>
  483.             <top>176</top>
  484.             <right>181</right>
  485.             <bottom>196</bottom>
  486.         </rect>
  487.         <style>radiobutton</style>
  488.         <showName> <true /> </showName>
  489.         <highlight> <false /> </highlight>
  490.         <autoHighlight> <false /> </autoHighlight>
  491.         <sharedHighlight> <true /> </sharedHighlight>
  492.         <family>0</family>
  493.         <titleWidth>0</titleWidth>
  494.         <icon>0</icon>
  495.         <textAlign>center</textAlign>
  496.         <font>Palatino</font>
  497.         <textSize>12</textSize>
  498.         <textStyle>plain</textStyle>
  499.         <name>Sort by first name</name>
  500.         <script>on mouseUp
  501. -- Requires handler: showExample
  502. set hilite of me to true
  503. set hilite of cd btn id 7 to false
  504. showExample
  505. end mouseUp</script>
  506.     </part>
  507.     <part>
  508.         <id>7</id>
  509.         <type>button</type>
  510.         <visible> <true /> </visible>
  511.         <reserved5> 0 </reserved5>
  512.         <reserved4> 0 </reserved4>
  513.         <reserved3> 0 </reserved3>
  514.         <reserved2> 0 </reserved2>
  515.         <reserved1> 0 </reserved1>
  516.         <enabled> <true /> </enabled>
  517.         <rect>
  518.             <left>36</left>
  519.             <top>196</top>
  520.             <right>181</right>
  521.             <bottom>216</bottom>
  522.         </rect>
  523.         <style>radiobutton</style>
  524.         <showName> <true /> </showName>
  525.         <highlight> <true /> </highlight>
  526.         <autoHighlight> <false /> </autoHighlight>
  527.         <sharedHighlight> <true /> </sharedHighlight>
  528.         <family>0</family>
  529.         <titleWidth>0</titleWidth>
  530.         <icon>0</icon>
  531.         <textAlign>center</textAlign>
  532.         <font>Palatino</font>
  533.         <textSize>12</textSize>
  534.         <textStyle>plain</textStyle>
  535.         <name>Sort by last name</name>
  536.         <script>on mouseUp
  537. -- Requires handler: showExample
  538. set hilite of me to true
  539. set hilite of cd btn id 6 to false
  540. showExample
  541. end mouseUp</script>
  542.     </part>
  543.     <part>
  544.         <id>8</id>
  545.         <type>field</type>
  546.         <visible> <true /> </visible>
  547.         <dontWrap> <false /> </dontWrap>
  548.         <dontSearch> <true /> </dontSearch>
  549.         <sharedText> <false /> </sharedText>
  550.         <fixedLineHeight> <true /> </fixedLineHeight>
  551.         <autoTab> <false /> </autoTab>
  552.         <lockText> <true /> </lockText>
  553.         <rect>
  554.             <left>257</left>
  555.             <top>67</top>
  556.             <right>359</right>
  557.             <bottom>87</bottom>
  558.         </rect>
  559.         <style>transparent</style>
  560.         <autoSelect> <false /> </autoSelect>
  561.         <showLines> <true /> </showLines>
  562.         <wideMargins> <false /> </wideMargins>
  563.         <multipleLines> <false /> </multipleLines>
  564.         <reservedFamily> 0 </reservedFamily>
  565.         <titleWidth>0</titleWidth>
  566.         <icon>0</icon>
  567.         <textAlign>left</textAlign>
  568.         <font>Palatino</font>
  569.         <textSize>12</textSize>
  570.         <textStyle>plain</textStyle>
  571.         <textHeight>16</textHeight>
  572.         <name></name>
  573.         <script></script>
  574.     </part>
  575.     <part>
  576.         <id>9</id>
  577.         <type>field</type>
  578.         <visible> <true /> </visible>
  579.         <dontWrap> <false /> </dontWrap>
  580.         <dontSearch> <true /> </dontSearch>
  581.         <sharedText> <false /> </sharedText>
  582.         <fixedLineHeight> <true /> </fixedLineHeight>
  583.         <autoTab> <false /> </autoTab>
  584.         <lockText> <true /> </lockText>
  585.         <rect>
  586.             <left>257</left>
  587.             <top>87</top>
  588.             <right>405</right>
  589.             <bottom>210</bottom>
  590.         </rect>
  591.         <style>transparent</style>
  592.         <autoSelect> <false /> </autoSelect>
  593.         <showLines> <false /> </showLines>
  594.         <wideMargins> <false /> </wideMargins>
  595.         <multipleLines> <false /> </multipleLines>
  596.         <reservedFamily> 0 </reservedFamily>
  597.         <titleWidth>0</titleWidth>
  598.         <icon>0</icon>
  599.         <textAlign>left</textAlign>
  600.         <font>Geneva</font>
  601.         <textSize>9</textSize>
  602.         <textStyle>plain</textStyle>
  603.         <textHeight>12</textHeight>
  604.         <name>example</name>
  605.         <script></script>
  606.     </part>
  607.     <part>
  608.         <id>10</id>
  609.         <type>button</type>
  610.         <visible> <true /> </visible>
  611.         <reserved5> 0 </reserved5>
  612.         <reserved4> 0 </reserved4>
  613.         <reserved3> 0 </reserved3>
  614.         <reserved2> 0 </reserved2>
  615.         <reserved1> 0 </reserved1>
  616.         <enabled> <true /> </enabled>
  617.         <rect>
  618.             <left>19</left>
  619.             <top>216</top>
  620.             <right>210</right>
  621.             <bottom>246</bottom>
  622.         </rect>
  623.         <style>opaque</style>
  624.         <showName> <false /> </showName>
  625.         <highlight> <false /> </highlight>
  626.         <autoHighlight> <false /> </autoHighlight>
  627.         <sharedHighlight> <true /> </sharedHighlight>
  628.         <family>0</family>
  629.         <titleWidth>0</titleWidth>
  630.         <icon>0</icon>
  631.         <textAlign>center</textAlign>
  632.         <font>Chicago</font>
  633.         <textSize>12</textSize>
  634.         <textStyle>plain</textStyle>
  635.         <name>Cover</name>
  636.         <script></script>
  637.     </part>
  638.     <content>
  639.         <layer>background</layer>
  640.         <id>3</id>
  641.         <text>Sort Preferences</text>
  642.     </content>
  643.     <content>
  644.         <layer>card</layer>
  645.         <id>1</id>
  646.         <text><span class="style14">o indicate how the stack will sort names, complete items 1 and 2.</span><span class="style25"></span></text>
  647.     </content>
  648.     <content>
  649.         <layer>card</layer>
  650.         <id>2</id>
  651.         <text><span class="style21">.</span><span class="style14"> How did you enter the names 
  652.     in this stack?</span></text>
  653.     </content>
  654.     <content>
  655.         <layer>card</layer>
  656.         <id>5</id>
  657.         <text><span class="style21">.</span><span class="style14"> When sorting the stack by name:</span></text>
  658.     </content>
  659.     <content>
  660.         <layer>card</layer>
  661.         <id>8</id>
  662.         <text>Example:</text>
  663.     </content>
  664.     <content>
  665.         <layer>card</layer>
  666.         <id>9</id>
  667.         <text>Steve Aaron
  668. Marti Belisle
  669. Loween Blank
  670. Emmett Cardenas
  671. Randy Fiscus
  672. Hillary Laurence
  673. Beverly Richie
  674. Charles Schmidt
  675. Throckmorton Scribblemonger</text>
  676.     </content>
  677.     <name>Sort Preferences</name>
  678.     <script>‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû
  679. Script from card "Sort Preferences" of the Addresses Stack
  680.  
  681. THE MESSAGE HANDLERS USED IN THIS SCRIPT:
  682. closeCard,showExample
  683.  
  684. THE FUNCTION HANDLERS USED IN THIS SCRIPT:
  685. sortingPreferences,firstNameFirstData,lastNameFirstData
  686.  
  687. "--‚àÜ" indicates strings which will need localization
  688. ‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû
  689.  
  690. on closeCard
  691. -- Requires function handler: sortingPreferences
  692. put sortingPreferences() into ¬¨
  693. bg fld "Name Order" of first card of bg "Body"
  694. pass closeCard
  695. end closeCard
  696.  
  697. function sortingPreferences
  698. -- return the preferences for sorting by name.
  699. if hilite of cd btn id 3 then -- ‚àÜ
  700. if the hilite of cd btn id 6 -- ‚àÜ
  701. then return "first word"
  702. else return "last word"
  703. else
  704. if the hilite of cd btn id 6 -- ‚àÜ
  705. then return "last word"
  706. else return "first word"
  707. end if
  708. end sortingPreferences
  709.  
  710. on showExample
  711. -- Requires function handlers:firstNameFirstData,lastNameFirstData
  712. if hilite of cd btn id 3 then
  713. get firstNameFirstData()
  714. if hilite of cd btn id 6 then
  715. sort it
  716. end if
  717. else
  718. get lastNameFirstData()
  719. if hilite of cd btn id 7 then
  720. sort it
  721. end if
  722. end if
  723. put it into cd fld "Example"
  724. end showExample
  725.  
  726. function firstNameFirstData
  727. -- example names sorted alphabetically by last name
  728. return "Steve Aaron" & return & ¬¨
  729. "Marti Belisle" & return & ¬¨
  730. "Loween Blank" & return & ¬¨
  731. "Emmett Cardenas" & return & ¬¨
  732. "Randy Fiscus" & return & ¬¨
  733. "Hillary Laurence" & return & ¬¨
  734. "Beverly Richie" & return & ¬¨
  735. "Charles Schmidt" & return & ¬¨
  736. "Throckmorton Scribblemonger"
  737. end firstNameFirstData
  738.  
  739. function lastNameFirstData
  740. -- example names sorted alphabetically by first name
  741. return "Richie, Beverly" & return & ¬¨
  742. "Schmidt, Charles" & return & ¬¨
  743. "Cardenas, Emmett" & return & ¬¨
  744. "Laurence, Hillary" & return & ¬¨
  745. "Blank, Loween" & return & ¬¨
  746. "Belisle, Marti" & return & ¬¨
  747. "Fiscus, Randy" & return & ¬¨
  748. "Aaron, Steve" & return & ¬¨
  749. "Scribblemonger, Throckmorton"
  750. end lastNameFirstData</script>
  751. </card>
  752.  
  753.  
  754. card_7095.xml
  755. <?xml version="1.0" encoding="utf-8" ?>
  756. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  757. <card>
  758.     <id>7095</id>
  759.     <filler1>0</filler1>
  760.     <cantDelete> <true /> </cantDelete>
  761.     <showPict> <true /> </showPict>
  762.     <dontSearch> <true /> </dontSearch>
  763.     <owner>6486</owner>
  764.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  765.     <part>
  766.         <id>21</id>
  767.         <type>field</type>
  768.         <visible> <true /> </visible>
  769.         <dontWrap> <true /> </dontWrap>
  770.         <dontSearch> <false /> </dontSearch>
  771.         <sharedText> <false /> </sharedText>
  772.         <fixedLineHeight> <true /> </fixedLineHeight>
  773.         <autoTab> <true /> </autoTab>
  774.         <lockText> <false /> </lockText>
  775.         <rect>
  776.             <left>176</left>
  777.             <top>64</top>
  778.             <right>388</right>
  779.             <bottom>83</bottom>
  780.         </rect>
  781.         <style>transparent</style>
  782.         <autoSelect> <false /> </autoSelect>
  783.         <showLines> <true /> </showLines>
  784.         <wideMargins> <false /> </wideMargins>
  785.         <multipleLines> <false /> </multipleLines>
  786.         <reservedFamily> 0 </reservedFamily>
  787.         <titleWidth>0</titleWidth>
  788.         <icon>0</icon>
  789.         <textAlign>left</textAlign>
  790.         <font>Palatino</font>
  791.         <textSize>12</textSize>
  792.         <textStyle>plain</textStyle>
  793.         <textHeight>16</textHeight>
  794.         <name></name>
  795.         <script></script>
  796.     </part>
  797.     <part>
  798.         <id>22</id>
  799.         <type>field</type>
  800.         <visible> <true /> </visible>
  801.         <dontWrap> <true /> </dontWrap>
  802.         <dontSearch> <false /> </dontSearch>
  803.         <sharedText> <false /> </sharedText>
  804.         <fixedLineHeight> <true /> </fixedLineHeight>
  805.         <autoTab> <true /> </autoTab>
  806.         <lockText> <false /> </lockText>
  807.         <rect>
  808.             <left>176</left>
  809.             <top>82</top>
  810.             <right>388</right>
  811.             <bottom>101</bottom>
  812.         </rect>
  813.         <style>transparent</style>
  814.         <autoSelect> <false /> </autoSelect>
  815.         <showLines> <true /> </showLines>
  816.         <wideMargins> <false /> </wideMargins>
  817.         <multipleLines> <false /> </multipleLines>
  818.         <reservedFamily> 0 </reservedFamily>
  819.         <titleWidth>0</titleWidth>
  820.         <icon>0</icon>
  821.         <textAlign>left</textAlign>
  822.         <font>Palatino</font>
  823.         <textSize>12</textSize>
  824.         <textStyle>plain</textStyle>
  825.         <textHeight>16</textHeight>
  826.         <name></name>
  827.         <script></script>
  828.     </part>
  829.     <part>
  830.         <id>23</id>
  831.         <type>field</type>
  832.         <visible> <true /> </visible>
  833.         <dontWrap> <true /> </dontWrap>
  834.         <dontSearch> <false /> </dontSearch>
  835.         <sharedText> <false /> </sharedText>
  836.         <fixedLineHeight> <true /> </fixedLineHeight>
  837.         <autoTab> <true /> </autoTab>
  838.         <lockText> <false /> </lockText>
  839.         <rect>
  840.             <left>176</left>
  841.             <top>100</top>
  842.             <right>388</right>
  843.             <bottom>119</bottom>
  844.         </rect>
  845.         <style>transparent</style>
  846.         <autoSelect> <false /> </autoSelect>
  847.         <showLines> <true /> </showLines>
  848.         <wideMargins> <false /> </wideMargins>
  849.         <multipleLines> <false /> </multipleLines>
  850.         <reservedFamily> 0 </reservedFamily>
  851.         <titleWidth>0</titleWidth>
  852.         <icon>0</icon>
  853.         <textAlign>left</textAlign>
  854.         <font>Palatino</font>
  855.         <textSize>12</textSize>
  856.         <textStyle>plain</textStyle>
  857.         <textHeight>16</textHeight>
  858.         <name></name>
  859.         <script></script>
  860.     </part>
  861.     <part>
  862.         <id>24</id>
  863.         <type>field</type>
  864.         <visible> <true /> </visible>
  865.         <dontWrap> <true /> </dontWrap>
  866.         <dontSearch> <false /> </dontSearch>
  867.         <sharedText> <false /> </sharedText>
  868.         <fixedLineHeight> <true /> </fixedLineHeight>
  869.         <autoTab> <true /> </autoTab>
  870.         <lockText> <false /> </lockText>
  871.         <rect>
  872.             <left>176</left>
  873.             <top>118</top>
  874.             <right>388</right>
  875.             <bottom>137</bottom>
  876.         </rect>
  877.         <style>transparent</style>
  878.         <autoSelect> <false /> </autoSelect>
  879.         <showLines> <true /> </showLines>
  880.         <wideMargins> <false /> </wideMargins>
  881.         <multipleLines> <false /> </multipleLines>
  882.         <reservedFamily> 0 </reservedFamily>
  883.         <titleWidth>0</titleWidth>
  884.         <icon>0</icon>
  885.         <textAlign>left</textAlign>
  886.         <font>Palatino</font>
  887.         <textSize>12</textSize>
  888.         <textStyle>plain</textStyle>
  889.         <textHeight>16</textHeight>
  890.         <name></name>
  891.         <script></script>
  892.     </part>
  893.     <part>
  894.         <id>25</id>
  895.         <type>field</type>
  896.         <visible> <true /> </visible>
  897.         <dontWrap> <true /> </dontWrap>
  898.         <dontSearch> <false /> </dontSearch>
  899.         <sharedText> <false /> </sharedText>
  900.         <fixedLineHeight> <true /> </fixedLineHeight>
  901.         <autoTab> <true /> </autoTab>
  902.         <lockText> <false /> </lockText>
  903.         <rect>
  904.             <left>176</left>
  905.             <top>136</top>
  906.             <right>388</right>
  907.             <bottom>155</bottom>
  908.         </rect>
  909.         <style>transparent</style>
  910.         <autoSelect> <false /> </autoSelect>
  911.         <showLines> <true /> </showLines>
  912.         <wideMargins> <false /> </wideMargins>
  913.         <multipleLines> <false /> </multipleLines>
  914.         <reservedFamily> 0 </reservedFamily>
  915.         <titleWidth>0</titleWidth>
  916.         <icon>0</icon>
  917.         <textAlign>left</textAlign>
  918.         <font>Palatino</font>
  919.         <textSize>12</textSize>
  920.         <textStyle>plain</textStyle>
  921.         <textHeight>16</textHeight>
  922.         <name></name>
  923.         <script></script>
  924.     </part>
  925.     <part>
  926.         <id>26</id>
  927.         <type>field</type>
  928.         <visible> <true /> </visible>
  929.         <dontWrap> <true /> </dontWrap>
  930.         <dontSearch> <false /> </dontSearch>
  931.         <sharedText> <false /> </sharedText>
  932.         <fixedLineHeight> <true /> </fixedLineHeight>
  933.         <autoTab> <true /> </autoTab>
  934.         <lockText> <false /> </lockText>
  935.         <rect>
  936.             <left>176</left>
  937.             <top>154</top>
  938.             <right>388</right>
  939.             <bottom>173</bottom>
  940.         </rect>
  941.         <style>transparent</style>
  942.         <autoSelect> <false /> </autoSelect>
  943.         <showLines> <true /> </showLines>
  944.         <wideMargins> <false /> </wideMargins>
  945.         <multipleLines> <false /> </multipleLines>
  946.         <reservedFamily> 0 </reservedFamily>
  947.         <titleWidth>0</titleWidth>
  948.         <icon>0</icon>
  949.         <textAlign>left</textAlign>
  950.         <font>Palatino</font>
  951.         <textSize>12</textSize>
  952.         <textStyle>plain</textStyle>
  953.         <textHeight>16</textHeight>
  954.         <name></name>
  955.         <script></script>
  956.     </part>
  957.     <part>
  958.         <id>27</id>
  959.         <type>field</type>
  960.         <visible> <true /> </visible>
  961.         <dontWrap> <false /> </dontWrap>
  962.         <dontSearch> <false /> </dontSearch>
  963.         <sharedText> <false /> </sharedText>
  964.         <fixedLineHeight> <true /> </fixedLineHeight>
  965.         <autoTab> <true /> </autoTab>
  966.         <lockText> <false /> </lockText>
  967.         <rect>
  968.             <left>176</left>
  969.             <top>172</top>
  970.             <right>388</right>
  971.             <bottom>191</bottom>
  972.         </rect>
  973.         <style>transparent</style>
  974.         <autoSelect> <false /> </autoSelect>
  975.         <showLines> <true /> </showLines>
  976.         <wideMargins> <false /> </wideMargins>
  977.         <multipleLines> <false /> </multipleLines>
  978.         <reservedFamily> 0 </reservedFamily>
  979.         <titleWidth>0</titleWidth>
  980.         <icon>0</icon>
  981.         <textAlign>left</textAlign>
  982.         <font>Palatino</font>
  983.         <textSize>12</textSize>
  984.         <textStyle>plain</textStyle>
  985.         <textHeight>16</textHeight>
  986.         <name></name>
  987.         <script></script>
  988.     </part>
  989.     <part>
  990.         <id>28</id>
  991.         <type>field</type>
  992.         <visible> <true /> </visible>
  993.         <dontWrap> <false /> </dontWrap>
  994.         <dontSearch> <false /> </dontSearch>
  995.         <sharedText> <false /> </sharedText>
  996.         <fixedLineHeight> <true /> </fixedLineHeight>
  997.         <autoTab> <true /> </autoTab>
  998.         <lockText> <false /> </lockText>
  999.         <rect>
  1000.             <left>176</left>
  1001.             <top>190</top>
  1002.             <right>388</right>
  1003.             <bottom>209</bottom>
  1004.         </rect>
  1005.         <style>transparent</style>
  1006.         <autoSelect> <false /> </autoSelect>
  1007.         <showLines> <true /> </showLines>
  1008.         <wideMargins> <false /> </wideMargins>
  1009.         <multipleLines> <false /> </multipleLines>
  1010.         <reservedFamily> 0 </reservedFamily>
  1011.         <titleWidth>0</titleWidth>
  1012.         <icon>0</icon>
  1013.         <textAlign>left</textAlign>
  1014.         <font>Palatino</font>
  1015.         <textSize>12</textSize>
  1016.         <textStyle>plain</textStyle>
  1017.         <textHeight>16</textHeight>
  1018.         <name></name>
  1019.         <script></script>
  1020.     </part>
  1021.     <part>
  1022.         <id>3</id>
  1023.         <type>button</type>
  1024.         <visible> <true /> </visible>
  1025.         <reserved5> 0 </reserved5>
  1026.         <reserved4> 0 </reserved4>
  1027.         <reserved3> 0 </reserved3>
  1028.         <reserved2> 0 </reserved2>
  1029.         <reserved1> 0 </reserved1>
  1030.         <enabled> <true /> </enabled>
  1031.         <rect>
  1032.             <left>24</left>
  1033.             <top>64</top>
  1034.             <right>176</right>
  1035.             <bottom>82</bottom>
  1036.         </rect>
  1037.         <style>checkbox</style>
  1038.         <showName> <true /> </showName>
  1039.         <highlight> <false /> </highlight>
  1040.         <autoHighlight> <true /> </autoHighlight>
  1041.         <sharedHighlight> <true /> </sharedHighlight>
  1042.         <family>0</family>
  1043.         <titleWidth>0</titleWidth>
  1044.         <icon>0</icon>
  1045.         <textAlign>center</textAlign>
  1046.         <font>Palatino</font>
  1047.         <textSize>12</textSize>
  1048.         <textStyle>plain</textStyle>
  1049.         <name>Name contains:</name>
  1050.         <script>on mouseUp
  1051. hiliteAndSelect
  1052. pass mouseUp
  1053. end mouseUp
  1054. </script>
  1055.     </part>
  1056.     <part>
  1057.         <id>4</id>
  1058.         <type>button</type>
  1059.         <visible> <true /> </visible>
  1060.         <reserved5> 0 </reserved5>
  1061.         <reserved4> 0 </reserved4>
  1062.         <reserved3> 0 </reserved3>
  1063.         <reserved2> 0 </reserved2>
  1064.         <reserved1> 0 </reserved1>
  1065.         <enabled> <true /> </enabled>
  1066.         <rect>
  1067.             <left>24</left>
  1068.             <top>82</top>
  1069.             <right>176</right>
  1070.             <bottom>100</bottom>
  1071.         </rect>
  1072.         <style>checkbox</style>
  1073.         <showName> <true /> </showName>
  1074.         <highlight> <false /> </highlight>
  1075.         <autoHighlight> <true /> </autoHighlight>
  1076.         <sharedHighlight> <true /> </sharedHighlight>
  1077.         <family>0</family>
  1078.         <titleWidth>0</titleWidth>
  1079.         <icon>0</icon>
  1080.         <textAlign>center</textAlign>
  1081.         <font>Palatino</font>
  1082.         <textSize>12</textSize>
  1083.         <textStyle>plain</textStyle>
  1084.         <name>Company contains:</name>
  1085.         <script>on mouseUp
  1086. hiliteAndSelect
  1087. pass mouseUp
  1088. end mouseUp
  1089. </script>
  1090.     </part>
  1091.     <part>
  1092.         <id>5</id>
  1093.         <type>button</type>
  1094.         <visible> <true /> </visible>
  1095.         <reserved5> 0 </reserved5>
  1096.         <reserved4> 0 </reserved4>
  1097.         <reserved3> 0 </reserved3>
  1098.         <reserved2> 0 </reserved2>
  1099.         <reserved1> 0 </reserved1>
  1100.         <enabled> <true /> </enabled>
  1101.         <rect>
  1102.             <left>24</left>
  1103.             <top>100</top>
  1104.             <right>176</right>
  1105.             <bottom>118</bottom>
  1106.         </rect>
  1107.         <style>checkbox</style>
  1108.         <showName> <true /> </showName>
  1109.         <highlight> <false /> </highlight>
  1110.         <autoHighlight> <true /> </autoHighlight>
  1111.         <sharedHighlight> <true /> </sharedHighlight>
  1112.         <family>0</family>
  1113.         <titleWidth>0</titleWidth>
  1114.         <icon>0</icon>
  1115.         <textAlign>center</textAlign>
  1116.         <font>Palatino</font>
  1117.         <textSize>12</textSize>
  1118.         <textStyle>plain</textStyle>
  1119.         <name>Street contains:</name>
  1120.         <script>on mouseUp
  1121. hiliteAndSelect
  1122. pass mouseUp
  1123. end mouseUp
  1124. </script>
  1125.     </part>
  1126.     <part>
  1127.         <id>6</id>
  1128.         <type>button</type>
  1129.         <visible> <true /> </visible>
  1130.         <reserved5> 0 </reserved5>
  1131.         <reserved4> 0 </reserved4>
  1132.         <reserved3> 0 </reserved3>
  1133.         <reserved2> 0 </reserved2>
  1134.         <reserved1> 0 </reserved1>
  1135.         <enabled> <true /> </enabled>
  1136.         <rect>
  1137.             <left>24</left>
  1138.             <top>118</top>
  1139.             <right>176</right>
  1140.             <bottom>136</bottom>
  1141.         </rect>
  1142.         <style>checkbox</style>
  1143.         <showName> <true /> </showName>
  1144.         <highlight> <false /> </highlight>
  1145.         <autoHighlight> <true /> </autoHighlight>
  1146.         <sharedHighlight> <true /> </sharedHighlight>
  1147.         <family>0</family>
  1148.         <titleWidth>0</titleWidth>
  1149.         <icon>0</icon>
  1150.         <textAlign>center</textAlign>
  1151.         <font>Palatino</font>
  1152.         <textSize>12</textSize>
  1153.         <textStyle>plain</textStyle>
  1154.         <name>City contains:</name>
  1155.         <script>on mouseUp
  1156. hiliteAndSelect
  1157. pass mouseUp
  1158. end mouseUp
  1159. </script>
  1160.     </part>
  1161.     <part>
  1162.         <id>7</id>
  1163.         <type>button</type>
  1164.         <visible> <true /> </visible>
  1165.         <reserved5> 0 </reserved5>
  1166.         <reserved4> 0 </reserved4>
  1167.         <reserved3> 0 </reserved3>
  1168.         <reserved2> 0 </reserved2>
  1169.         <reserved1> 0 </reserved1>
  1170.         <enabled> <true /> </enabled>
  1171.         <rect>
  1172.             <left>24</left>
  1173.             <top>136</top>
  1174.             <right>176</right>
  1175.             <bottom>154</bottom>
  1176.         </rect>
  1177.         <style>checkbox</style>
  1178.         <showName> <true /> </showName>
  1179.         <highlight> <false /> </highlight>
  1180.         <autoHighlight> <true /> </autoHighlight>
  1181.         <sharedHighlight> <true /> </sharedHighlight>
  1182.         <family>0</family>
  1183.         <titleWidth>0</titleWidth>
  1184.         <icon>0</icon>
  1185.         <textAlign>center</textAlign>
  1186.         <font>Palatino</font>
  1187.         <textSize>12</textSize>
  1188.         <textStyle>plain</textStyle>
  1189.         <name>State contains:</name>
  1190.         <script>on mouseUp
  1191. hiliteAndSelect
  1192. pass mouseUp
  1193. end mouseUp
  1194. </script>
  1195.     </part>
  1196.     <part>
  1197.         <id>8</id>
  1198.         <type>button</type>
  1199.         <visible> <true /> </visible>
  1200.         <reserved5> 0 </reserved5>
  1201.         <reserved4> 0 </reserved4>
  1202.         <reserved3> 0 </reserved3>
  1203.         <reserved2> 0 </reserved2>
  1204.         <reserved1> 0 </reserved1>
  1205.         <enabled> <true /> </enabled>
  1206.         <rect>
  1207.             <left>24</left>
  1208.             <top>154</top>
  1209.             <right>176</right>
  1210.             <bottom>172</bottom>
  1211.         </rect>
  1212.         <style>checkbox</style>
  1213.         <showName> <true /> </showName>
  1214.         <highlight> <false /> </highlight>
  1215.         <autoHighlight> <true /> </autoHighlight>
  1216.         <sharedHighlight> <true /> </sharedHighlight>
  1217.         <family>0</family>
  1218.         <titleWidth>0</titleWidth>
  1219.         <icon>0</icon>
  1220.         <textAlign>center</textAlign>
  1221.         <font>Palatino</font>
  1222.         <textSize>12</textSize>
  1223.         <textStyle>plain</textStyle>
  1224.         <name>Zip Code contains:</name>
  1225.         <script>on mouseUp
  1226. hiliteAndSelect
  1227. pass mouseUp
  1228. end mouseUp
  1229. </script>
  1230.     </part>
  1231.     <part>
  1232.         <id>9</id>
  1233.         <type>button</type>
  1234.         <visible> <true /> </visible>
  1235.         <reserved5> 0 </reserved5>
  1236.         <reserved4> 0 </reserved4>
  1237.         <reserved3> 0 </reserved3>
  1238.         <reserved2> 0 </reserved2>
  1239.         <reserved1> 0 </reserved1>
  1240.         <enabled> <true /> </enabled>
  1241.         <rect>
  1242.             <left>24</left>
  1243.             <top>172</top>
  1244.             <right>176</right>
  1245.             <bottom>190</bottom>
  1246.         </rect>
  1247.         <style>checkbox</style>
  1248.         <showName> <true /> </showName>
  1249.         <highlight> <false /> </highlight>
  1250.         <autoHighlight> <true /> </autoHighlight>
  1251.         <sharedHighlight> <true /> </sharedHighlight>
  1252.         <family>0</family>
  1253.         <titleWidth>0</titleWidth>
  1254.         <icon>0</icon>
  1255.         <textAlign>center</textAlign>
  1256.         <font>Palatino</font>
  1257.         <textSize>12</textSize>
  1258.         <textStyle>plain</textStyle>
  1259.         <name>Telephone contains:</name>
  1260.         <script>on mouseUp
  1261. hiliteAndSelect
  1262. pass mouseUp
  1263. end mouseUp
  1264. </script>
  1265.     </part>
  1266.     <part>
  1267.         <id>29</id>
  1268.         <type>button</type>
  1269.         <visible> <true /> </visible>
  1270.         <reserved5> 0 </reserved5>
  1271.         <reserved4> 0 </reserved4>
  1272.         <reserved3> 0 </reserved3>
  1273.         <reserved2> 0 </reserved2>
  1274.         <reserved1> 0 </reserved1>
  1275.         <enabled> <true /> </enabled>
  1276.         <rect>
  1277.             <left>24</left>
  1278.             <top>190</top>
  1279.             <right>176</right>
  1280.             <bottom>208</bottom>
  1281.         </rect>
  1282.         <style>checkbox</style>
  1283.         <showName> <true /> </showName>
  1284.         <highlight> <false /> </highlight>
  1285.         <autoHighlight> <true /> </autoHighlight>
  1286.         <sharedHighlight> <true /> </sharedHighlight>
  1287.         <family>0</family>
  1288.         <titleWidth>0</titleWidth>
  1289.         <icon>0</icon>
  1290.         <textAlign>center</textAlign>
  1291.         <font>Palatino</font>
  1292.         <textSize>12</textSize>
  1293.         <textStyle>plain</textStyle>
  1294.         <name>Notes contains:</name>
  1295.         <script>on mouseUp
  1296. hiliteAndSelect
  1297. pass mouseUp
  1298. end mouseUp
  1299. </script>
  1300.     </part>
  1301.     <part>
  1302.         <id>12</id>
  1303.         <type>field</type>
  1304.         <visible> <false /> </visible>
  1305.         <dontWrap> <true /> </dontWrap>
  1306.         <dontSearch> <false /> </dontSearch>
  1307.         <sharedText> <false /> </sharedText>
  1308.         <fixedLineHeight> <true /> </fixedLineHeight>
  1309.         <autoTab> <true /> </autoTab>
  1310.         <lockText> <false /> </lockText>
  1311.         <rect>
  1312.             <left>176</left>
  1313.             <top>107</top>
  1314.             <right>376</right>
  1315.             <bottom>126</bottom>
  1316.         </rect>
  1317.         <style>transparent</style>
  1318.         <autoSelect> <false /> </autoSelect>
  1319.         <showLines> <true /> </showLines>
  1320.         <wideMargins> <false /> </wideMargins>
  1321.         <multipleLines> <false /> </multipleLines>
  1322.         <reservedFamily> 0 </reservedFamily>
  1323.         <titleWidth>0</titleWidth>
  1324.         <icon>0</icon>
  1325.         <textAlign>left</textAlign>
  1326.         <font>Palatino</font>
  1327.         <textSize>12</textSize>
  1328.         <textStyle>plain</textStyle>
  1329.         <textHeight>16</textHeight>
  1330.         <name></name>
  1331.         <script></script>
  1332.     </part>
  1333.     <part>
  1334.         <id>1</id>
  1335.         <type>field</type>
  1336.         <visible> <true /> </visible>
  1337.         <dontWrap> <false /> </dontWrap>
  1338.         <dontSearch> <true /> </dontSearch>
  1339.         <sharedText> <false /> </sharedText>
  1340.         <fixedLineHeight> <true /> </fixedLineHeight>
  1341.         <autoTab> <false /> </autoTab>
  1342.         <lockText> <true /> </lockText>
  1343.         <rect>
  1344.             <left>22</left>
  1345.             <top>40</top>
  1346.             <right>169</right>
  1347.             <bottom>61</bottom>
  1348.         </rect>
  1349.         <style>transparent</style>
  1350.         <autoSelect> <false /> </autoSelect>
  1351.         <showLines> <false /> </showLines>
  1352.         <wideMargins> <false /> </wideMargins>
  1353.         <multipleLines> <false /> </multipleLines>
  1354.         <reservedFamily> 0 </reservedFamily>
  1355.         <titleWidth>0</titleWidth>
  1356.         <icon>0</icon>
  1357.         <textAlign>left</textAlign>
  1358.         <font>Palatino</font>
  1359.         <textSize>14</textSize>
  1360.         <textStyle>plain</textStyle>
  1361.         <textHeight>18</textHeight>
  1362.         <name></name>
  1363.         <script></script>
  1364.     </part>
  1365.     <part>
  1366.         <id>17</id>
  1367.         <type>field</type>
  1368.         <visible> <true /> </visible>
  1369.         <dontWrap> <false /> </dontWrap>
  1370.         <dontSearch> <true /> </dontSearch>
  1371.         <sharedText> <false /> </sharedText>
  1372.         <fixedLineHeight> <false /> </fixedLineHeight>
  1373.         <autoTab> <false /> </autoTab>
  1374.         <lockText> <true /> </lockText>
  1375.         <rect>
  1376.             <left>44</left>
  1377.             <top>224</top>
  1378.             <right>193</right>
  1379.             <bottom>240</bottom>
  1380.         </rect>
  1381.         <style>transparent</style>
  1382.         <autoSelect> <false /> </autoSelect>
  1383.         <showLines> <false /> </showLines>
  1384.         <wideMargins> <false /> </wideMargins>
  1385.         <multipleLines> <false /> </multipleLines>
  1386.         <reservedFamily> 0 </reservedFamily>
  1387.         <titleWidth>0</titleWidth>
  1388.         <icon>0</icon>
  1389.         <textAlign>center</textAlign>
  1390.         <font>Palatino</font>
  1391.         <textSize>12</textSize>
  1392.         <textStyle>plain</textStyle>
  1393.         <textHeight>16</textHeight>
  1394.         <name>About</name>
  1395.         <script></script>
  1396.     </part>
  1397.     <part>
  1398.         <id>2</id>
  1399.         <type>button</type>
  1400.         <visible> <true /> </visible>
  1401.         <reserved5> 0 </reserved5>
  1402.         <reserved4> 0 </reserved4>
  1403.         <reserved3> 0 </reserved3>
  1404.         <reserved2> 0 </reserved2>
  1405.         <reserved1> 0 </reserved1>
  1406.         <enabled> <true /> </enabled>
  1407.         <rect>
  1408.             <left>260</left>
  1409.             <top>39</top>
  1410.             <right>388</right>
  1411.             <bottom>62</bottom>
  1412.         </rect>
  1413.         <style>shadow</style>
  1414.         <showName> <true /> </showName>
  1415.         <highlight> <false /> </highlight>
  1416.         <autoHighlight> <true /> </autoHighlight>
  1417.         <sharedHighlight> <true /> </sharedHighlight>
  1418.         <family>0</family>
  1419.         <titleWidth>0</titleWidth>
  1420.         <icon>0</icon>
  1421.         <textAlign>center</textAlign>
  1422.         <font>Palatino</font>
  1423.         <textSize>12</textSize>
  1424.         <textStyle>plain</textStyle>
  1425.         <name>Mark The Cards</name>
  1426.         <script>on mouseUp
  1427. -- Requires function handler: theFields,thePhoneFields
  1428. put false into shouldMark
  1429. put "mark cards where (" into theMarkText
  1430. repeat with i = 1 to 8
  1431. if ((hilite of cd btn i) and (cd fld i is not empty)) then
  1432. if cd fld i contains quote then
  1433. beep
  1434. select text of cd fld i
  1435. answer "Please do not use quotes." with "Thank You" -- ‚àÜ
  1436. exit mouseUp
  1437. end if
  1438. if i = 7 then
  1439. repeat with n = 1 to 4
  1440. put "(" && item n of thePhoneFields() && "contains" &&¬¨
  1441. quote & cd fld i & quote && ")" && "or " after theMarkText
  1442. put true into shouldMark
  1443. end repeat
  1444. if last word of theMarkText is "or"
  1445. then delete last word of theMarkText
  1446. put " and " after theMarkText
  1447. else
  1448. put "(" && item i of theFields() && "contains" &&¬¨
  1449. quote & cd fld i & quote && ")" && "and " after theMarkText
  1450. put true into shouldMark
  1451. end if
  1452. end if
  1453. end repeat
  1454. if shouldMark then
  1455. if last word of theMarkText is "and"
  1456. then delete last word of theMarkText
  1457. put ")" after theMarkText
  1458. answer "Unmark all of the cards first?" with "No" or "Yes" -- ‚àÜ
  1459. if it is "Yes" then unmark all cards -- ‚àÜ
  1460. do theMarkText
  1461. unmark card "Mark Cards" -- ‚àÜ
  1462. unmark card "Sort Preferences" -- ‚àÜ
  1463. unmark card "Stack Overview" -- ‚àÜ
  1464. else
  1465. beep
  1466. answer "Please click the appropriate checkbox(es)"&&¬¨
  1467. "and fill in the corresponding blanks"&&¬¨
  1468. "to determine which cards should be marked." -- ‚àÜ
  1469. exit to HyperCard
  1470. end if
  1471. put number of marked cards into totalCardsMarked
  1472. put "Total number of cards marked:" && totalCardsMarked into prompt -- ‚àÜ
  1473. if totalCardsMarked = 0 then answer prompt
  1474. else
  1475. answer prompt & return & ¬¨
  1476. "Go to the first marked card?" with "Yes" or "Cancel" -- ‚àÜ
  1477. if it is "Yes" then go first marked card -- ‚àÜ
  1478. end if
  1479. end mouseUp
  1480.  
  1481. -----  Data Handlers  ----------------------------------------------
  1482.  
  1483. function theFields
  1484. return "bg fld id 4,bg fld id 97," & ¬¨
  1485. "bg fld id 6,bg fld id 98,bg fld id 99," & ¬¨
  1486. "bg fld id 104,bg fld id 8,bg fld id 7"
  1487. end theFields
  1488.  
  1489. function thePhoneFields
  1490. return "bg fld id 8,bg fld id 100," & ¬¨
  1491. "bg fld id 101,bg fld id 102"
  1492. end thePhoneFields</script>
  1493.     </part>
  1494.     <part>
  1495.         <id>18</id>
  1496.         <type>button</type>
  1497.         <visible> <true /> </visible>
  1498.         <reserved5> 0 </reserved5>
  1499.         <reserved4> 0 </reserved4>
  1500.         <reserved3> 0 </reserved3>
  1501.         <reserved2> 0 </reserved2>
  1502.         <reserved1> 0 </reserved1>
  1503.         <enabled> <true /> </enabled>
  1504.         <rect>
  1505.             <left>29</left>
  1506.             <top>221</top>
  1507.             <right>196</right>
  1508.             <bottom>240</bottom>
  1509.         </rect>
  1510.         <style>transparent</style>
  1511.         <showName> <false /> </showName>
  1512.         <highlight> <false /> </highlight>
  1513.         <autoHighlight> <false /> </autoHighlight>
  1514.         <sharedHighlight> <true /> </sharedHighlight>
  1515.         <family>0</family>
  1516.         <titleWidth>0</titleWidth>
  1517.         <icon>0</icon>
  1518.         <textAlign>center</textAlign>
  1519.         <font>Chicago</font>
  1520.         <textSize>12</textSize>
  1521.         <textStyle>plain</textStyle>
  1522.         <name>About Hiliter</name>
  1523.         <script>on mouseUp
  1524. -- Requires handler: toggleTip
  1525. -- card field "Hidden" is a hidden field containing the tip info
  1526. toggleTip (not the hilite of me),id of cd fld "Hidden"
  1527. end mouseUp</script>
  1528.     </part>
  1529.     <part>
  1530.         <id>19</id>
  1531.         <type>field</type>
  1532.         <visible> <false /> </visible>
  1533.         <dontWrap> <false /> </dontWrap>
  1534.         <dontSearch> <false /> </dontSearch>
  1535.         <sharedText> <false /> </sharedText>
  1536.         <fixedLineHeight> <true /> </fixedLineHeight>
  1537.         <autoTab> <false /> </autoTab>
  1538.         <lockText> <true /> </lockText>
  1539.         <rect>
  1540.             <left>10</left>
  1541.             <top>34</top>
  1542.             <right>405</right>
  1543.             <bottom>217</bottom>
  1544.         </rect>
  1545.         <style>scrolling</style>
  1546.         <autoSelect> <false /> </autoSelect>
  1547.         <showLines> <false /> </showLines>
  1548.         <wideMargins> <true /> </wideMargins>
  1549.         <multipleLines> <false /> </multipleLines>
  1550.         <reservedFamily> 0 </reservedFamily>
  1551.         <titleWidth>0</titleWidth>
  1552.         <icon>0</icon>
  1553.         <textAlign>left</textAlign>
  1554.         <font>Palatino</font>
  1555.         <textSize>12</textSize>
  1556.         <textStyle>plain</textStyle>
  1557.         <textHeight>16</textHeight>
  1558.         <name>Hidden</name>
  1559.         <script>on mouseUp
  1560. -- Requires handler: toggleTip
  1561. -- card field "Hidden" is a hidden field containing the tip info
  1562. toggleTip false,id of cd fld "Hidden"
  1563. end mouseUp</script>
  1564.     </part>
  1565.     <content>
  1566.         <layer>background</layer>
  1567.         <id>3</id>
  1568.         <text>Mark Cards</text>
  1569.     </content>
  1570.     <content>
  1571.         <layer>card</layer>
  1572.         <id>1</id>
  1573.         <text><span class="style14">ark cards on which:</span><span class="style25"></span></text>
  1574.     </content>
  1575.     <content>
  1576.         <layer>card</layer>
  1577.         <id>17</id>
  1578.         <text>Using Marked Cards</text>
  1579.     </content>
  1580.     <content>
  1581.         <layer>card</layer>
  1582.         <id>19</id>
  1583.         <text>To mark all cards in Addresses that match specific criteria, click the appropriate check boxes on this card, fill in the corresponding blanks, then click "Mark the Cards". After you click "Mark the Cards", you will be asked whether or not you want to unmark all of the cards first. If you choose No, the newly marked cards will be added to the existing marked cards.
  1584.  
  1585. The cards marked will include only those cards that match the checked criteria. Each criteria checked narrows the search. For example, selecting the "Name contains:" checkbox and entering a name in the corresponding blank will mark only those cards containing that name. If you then select the "Zip Code contains:"  checkbox and enter a zip code, only those cards that contain both that name and that zip code will be marked.
  1586.  
  1587. Here‚Äôs how to navigate among, and use cards that are marked:
  1588.  
  1589. ‚Ä¢ To mark and unmark individual cards in Addresses, click the upper-right corner of the white area. After you mark a card, the corner looks like it‚Äôs folded over. 
  1590.  
  1591. ‚Ä¢ To go to the previous marked card, hold down the Shift key and click the left arrow button.
  1592.  
  1593. ‚Ä¢ To go to the next marked card, hold down the Shift key and click the right arrow button.
  1594.  
  1595. ‚Ä¢ To print only the marked cards, hold down the Shift key and choose Print Addresses from the Utilities menu.
  1596.  
  1597. ‚Ä¢ To export text from only the marked cards, hold down the Shift key and choose Export Text from the Utilities menu.
  1598.  
  1599. For more information about marked cards, see the HyperCard Help and HyperTalk Reference stacks.</text>
  1600.     </content>
  1601.     <name>Mark Cards</name>
  1602.     <script>on closeCard
  1603. -- Requires handler: toggleTip
  1604. if visible of cd fld id 19 then toggleTip false,19
  1605. end closeCard
  1606.  
  1607. on hiliteAndSelect
  1608. if hilite of the target
  1609. then select text of cd field (number of the target)
  1610. end hiliteAndSelect</script>
  1611. </card>
  1612.  
  1613.  
  1614. card_3230.xml
  1615. <?xml version="1.0" encoding="utf-8" ?>
  1616. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1617. <card>
  1618.     <id>3230</id>
  1619.     <filler1>0</filler1>
  1620.     <cantDelete> <false /> </cantDelete>
  1621.     <showPict> <true /> </showPict>
  1622.     <dontSearch> <false /> </dontSearch>
  1623.     <owner>3664</owner>
  1624.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  1625.     <content>
  1626.         <layer>background</layer>
  1627.         <id>4</id>
  1628.         <text>A. Royce Walthrop</text>
  1629.     </content>
  1630.     <content>
  1631.         <layer>background</layer>
  1632.         <id>97</id>
  1633.         <text>Acme Sprockets</text>
  1634.     </content>
  1635.     <content>
  1636.         <layer>background</layer>
  1637.         <id>6</id>
  1638.         <text>1234 Main Street</text>
  1639.     </content>
  1640.     <content>
  1641.         <layer>background</layer>
  1642.         <id>98</id>
  1643.         <text>Some Town</text>
  1644.     </content>
  1645.     <content>
  1646.         <layer>background</layer>
  1647.         <id>99</id>
  1648.         <text>California</text>
  1649.     </content>
  1650.     <content>
  1651.         <layer>background</layer>
  1652.         <id>104</id>
  1653.         <text>95014</text>
  1654.     </content>
  1655.     <content>
  1656.         <layer>background</layer>
  1657.         <id>8</id>
  1658.         <text>(415) 555-1234 (work)</text>
  1659.     </content>
  1660.     <content>
  1661.         <layer>background</layer>
  1662.         <id>7</id>
  1663.         <text>His birthday is April 26.
  1664.  
  1665. He used to work at Acme Dot Company.
  1666.  
  1667. FAX: 555-1111    
  1668.     
  1669. </text>
  1670.     </content>
  1671.     <name></name>
  1672.     <script></script>
  1673. </card>
  1674.  
  1675.  
  1676. card_2115.xml
  1677. <?xml version="1.0" encoding="utf-8" ?>
  1678. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  1679. <card>
  1680.     <id>2115</id>
  1681.     <filler1>0</filler1>
  1682.     <cantDelete> <false /> </cantDelete>
  1683.     <showPict> <true /> </showPict>
  1684.     <dontSearch> <false /> </dontSearch>
  1685.     <owner>3664</owner>
  1686.     <link rel="stylesheet" type="text/css" href="stylesheet_6249.css" />
  1687.     <content>
  1688.         <layer>background</layer>
  1689.         <id>4</id>
  1690.         <text>Jane Doe</text>
  1691.     </content>
  1692.     <content>
  1693.         <layer>background</layer>
  1694.         <id>97</id>
  1695.         <text>Acme Dot Company</text>
  1696.     </content>
  1697.     <content>
  1698.         <layer>background</layer>
  1699.         <id>6</id>
  1700.         <text>12 Elm Street</text>
  1701.     </content>
  1702.     <content>
  1703.         <layer>background</layer>
  1704.         <id>98</id>
  1705.         <text>Other Town</text>
  1706.     </content>
  1707.     <content>
  1708.         <layer>background</layer>
  1709.         <id>99</id>
  1710.         <text>Massachusetts</text>
  1711.     </content>
  1712.     <content>
  1713.         <layer>background</layer>
  1714.         <id>104</id>
  1715.         <text>27111</text>
  1716.     </content>
  1717.     <content>
  1718.         <layer>background</layer>
  1719.         <id>8</id>
  1720.         <text>(617) 555-1212</text>
  1721.     </content>
  1722.     <content>
  1723.         <layer>background</layer>
  1724.         <id>7</id>
  1725.         <text>Her birthday is September 24. 
  1726. Her FAX number is 555-1111.
  1727.     
  1728.     
  1729. </text>
  1730.     </content>
  1731.     <name></name>
  1732.     <script></script>
  1733. </card>
  1734.  
  1735.  
  1736.